package cn.kgc.service;

import cn.kgc.dao.InvitationMapper;
import cn.kgc.pojo.invitation;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Scope("prototype")
@Service("inviService")
public class InvitationServiceImpl  implements InvitationService {
    @Resource
    private InvitationMapper invitationMapper;
    @Override
    public List<invitation> getSelectByTitle(String title) {
        return invitationMapper.getSelectByTitle(title);
    }

    @Override
    public invitation getDelete(int id) {
        return invitationMapper.getDelete(id);
    }

}
